package com.xinpu.service.impl;

import com.xinpu.dto.MenusDto;
import com.xinpu.mapper.MenusCompanyMapper;
import com.xinpu.service.MenusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * MenusServiceImpl
 *
 * @author ayuan
 * @date 2021/5/21
 */
@Service
public class MenusServiceImpl implements MenusService {

    @Autowired
    private MenusCompanyMapper menusCompanyMapper;


    /**
     * 菜单集合
     *
     * @return
     */
    @Override
    public List<MenusDto> getList() {
        return menusCompanyMapper.getList();
    }
}
